package morenoapp.components.config2;

import com.jgoodies.forms.builder.PanelBuilder;
import com.jgoodies.forms.layout.CellConstraints;
import com.jgoodies.forms.layout.FormLayout;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JTextArea;

/**
 * Опросник.
 *
 * @deprecated no need in such class
 *
 * @author dmitry.mamonov
 */
@Deprecated
public class InquirerJPanel extends JPanel {
    
    JButton buttonAddQuestion;
    JButton buttonPrintInquirer;
    JButton buttonShowInquirerHelp;
    QuestionsListEditorJPanel panelQuestionsList;

    public InquirerJPanel() {
        initComponents();
        intiLayout();
    }

    private void initComponents() {
        throw new UnsupportedOperationException("Not yet implemented");
    }

    private void intiLayout() {
        FormLayout layout = new FormLayout(
                "right:pref, 3dlu, 20px:grow, 3dlu, 20px:grow, 20px:grow",
                "p, 3dlu, " +
                "p, 3dlu, " +
                "70px, 3dlu, " +
                "p, 3dlu, " +
                "p, 3dlu, " +
                "p, 3dlu, " +
                "p, 3dlu, " +
                "100px:grow, 3dlu, " +
                "p, " +
                ""); // rows

        //PanelBuilder builder = new PanelBuilder(layout, new FormDebugPanel()); //debug
        PanelBuilder builder = new PanelBuilder(layout, this);
        //builder.setDefaultDialogBorder();
        builder.setBorder(new javax.swing.border.EmptyBorder(5, 5, 5, 5));
        // Obtain a reusable constraints object to place components in the grid.
        CellConstraints cc = new CellConstraints();

        
    }
}
